﻿//-----------------------------------------------------------------------------
// <copyright file="ICommonDialogProvider.cs" company="William E. Kempf">
//     Copyright (c) William E. Kempf.
// </copyright>
//-----------------------------------------------------------------------------

namespace Onyx.Windows
{
    /// <summary>
    /// Provides factory methods for creating common dialogs.
    /// </summary>
    public interface ICommonDialogProvider
    {
        /// <summary>
        /// Creates the open file dialog.
        /// </summary>
        /// <returns>
        /// A newly created <see cref="IOpenFileDialog"/> instance.
        /// </returns>
        IOpenFileDialog CreateOpenFileDialog();

        /// <summary>
        /// Creates the save file dialog.
        /// </summary>
        /// <returns>
        /// A newly created <see cref="ISaveFileDialog"/> instance.
        /// </returns>
        ISaveFileDialog CreateSaveFileDialog();
    }
}
